<?php

/**
 * 
 * @author Youssef Driouach
 *
 */
class Application_Model_Rent extends Application_Model_Offer
{
	protected $_rentId;
	protected $_period;
	
	public function getAttribs()
	{
		$attribs = array(
				'addresses'			=> $this->getAddresses(),
				'avalability'		=> $this->getAvalability(),
				'description'		=> $this->getDescription(),
				'end_date'			=> $this->getEnd_date(),
				'object'			=> $this->getObject(),
				'price'				=> $this->getPrice(),
				'price_currency'	=> $this->getPrice_currency(),
				'start_date'		=> $this->getStart_date(),
				'status'			=> $this->getStatus(),
				'user'				=> $this->getUser(),
				'period'			=> $this->getPeriod(),
		);
		return $attribs;
	}
	/**
	 * @return the $_rentId
	 */
	public function getRentId() {
		return $this->_rentId;
	}

	/**
	 * @return the $_period
	 */
	public function getPeriod() {
		return $this->_period;
	}

	/**
	 * @param field_type $_rentId
	 */
	public function setRentId($_rentId) {
		$this->_rentId = $_rentId;
	}

	/**
	 * @param field_type $_period
	 */
	public function setPeriod($_period) {
		$this->_period = $_period;
	}

}